QAEngineCheckDevice
You can use theQAEngineCheckDevice
function to determine whether a particular drawing engine can draw into a particular device.
TQAError QAEngineCheckDevice ( const TQAEngine *engine, const TQADevice *device);
engine
- A drawing engine.
device
- A device.
DESCRIPTION
TheQAEngineCheckDevice
function returns, as its function result, a code that indicates whether the drawing engine specified by theengine
parameter can draw into the device specified by thedevice
parameter (kQANoErr
) or not (kQAError
).